package com.store_pro.entity;

import jakarta.persistence.Id;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 收货地址数据的实体类
 *
 * @author jasmine
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Address extends BaseEntity {
    /*** 地址id*/
    @Id
    private Integer aid;
    /*** 用户id*/
    private Integer uid;
    /*** 收货地址名称*/
    private String name;
    /*** 省*/
    private String provinceName;
    /*** 省代号*/
    private String provinceCode;
    /*** 市*/
    private String cityName;
    /*** 市代号*/
    private String cityCode;
    /*** 区*/
    private String areaName;
    /*** 区代号*/
    private String areaCode;
    /*** 邮编*/
    private String zip;
    /*** 收货地址*/
    private String address;
    /*** 电话*/
    private String phone;
    /*** 默认地址*/
    private String tel;
    /** * 标签*/
    private String tag;
    /*** 是否为默认地址*/
    private Integer isDefault;
}








